﻿using StructureMap;
using WS.EKA.Core.DI;

namespace WS.EKA.Service.Test
{
    public class IocFactory
    {
        static IContainer IOC { get; set; }

        static IocFactory()
        {
            IOC = ServiceResolverFactory.CreateContiner();
        }
        public static T GetInstance<T>()
        {
            return IOC.GetInstance<T>();
        }

        
    }
}
